<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
    <title>Home</title>
      <meta http-equiv="Pragma" content="no-cache"/>
      <meta http-equiv="Expires" content="-1"/>

      <link rel="stylesheet" type="text/css" media="screen" href="css/divs.css"/>
</head>
<body>
<div id="container">
    <div id="header">
        <h1 align="center"><s:text name="view.nome.sistema"/></h1>
    </div>
    <div id="middle">
            <div id="navigation">
                  <s:include value="../leftMenu.jsp" />
            </div>
            <div id="wrapper">
            <div id="content">
        <div align="center">
            <h2><s:text name="view.usuario.acao.incluir" /></h2>
            <s:form  action="Usuario!incluir.action">
                <s:textfield label="%{getText('view.usuario.nome')}" name="nome"/>
                <s:textfield label="%{getText('view.usuario.login')}" name="login"/>
                <s:password label="%{getText('view.usuario.senha')}" name="senha" />
                <s:select list="perfis" label="%{getText('view.usuario.perfil')}"
                          listKey="id" listValue="nome" name="perfil.id" />
                <s:submit key="view.button.usuario.salvar" />
            </s:form>
        </div>
            </div>
            </div>
            <br clear="all" />
    </div>
    <div id="footer"><p>
         <s:include value="../footer.jsp" />
    </div>
</div>
</body>
</html>